package com.xlh.pojo.courseTest;

import com.xlh.dto.courseTest.check.CheckRootDTO;

import java.io.Serializable;
import java.util.Date;

public class Practice extends CheckRootDTO implements Serializable {

    /**
     * 练习id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 章节id
     *
     * @mbg.generated
     */
    private Long chapterId;

    /**
     * 学生id | 班级ID
     *
     * @mbg.generated
     */
    private Long studentId;

    /**
     * 是否已批阅 0-否，1-是
     *
     * @mbg.generated
     */
    private Boolean check;

    /**
     * 总分
     *
     * @mbg.generated
     */
    private Integer score;

    /**
     * pdf文件(归档)
     *
     * @mbg.generated
     */
    private String pdf;

    /**
     * 评语
     *
     * @mbg.generated
     */
    private String checkResult;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 删除标识 0未删除 1已删除
     *
     * @mbg.generated
     */
    private Boolean delMark;

    /**
     * 回答的随堂练习详情，包含题目id，序号，学生填写的答案等
     *
     * @mbg.generated
     */
    private String content;


    private Integer rank;

    /**
     * 评价模板id
     */
    private Long templateId;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Boolean getCheck() {
        return check;
    }

    public void setCheck(Boolean check) {
        this.check = check;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getPdf() {
        return pdf;
    }

    public void setPdf(String pdf) {
        this.pdf = pdf;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDelMark() {
        return delMark;
    }

    public void setDelMark(Boolean delMark) {
        this.delMark = delMark;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    @Override
    public String toString() {
        return "Practice{" +
                "id=" + id +
                ", chapterId=" + chapterId +
                ", studentId=" + studentId +
                ", check=" + check +
                ", score=" + score +
                ", pdf='" + pdf + '\'' +
                ", checkResult='" + checkResult + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delMark=" + delMark +
                ", content='" + content + '\'' +
                ", rank=" + rank +
                ", templateId=" + templateId +
                '}';
    }
}